<!DOCTYPE html>
<html lang="en" xmlns:th = "http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../topic/css/main.css">
    <link rel="stylesheet" href="../topic/css/book.css">
    <link rel="stylesheet" href="../topic/css/comment.css">
    <link rel="stylesheet" href="../topic/css/font.css">
    <link rel="stylesheet" href="./css/search.css">
    <link rel="shortcut icon" href="img/starfall.png" type="image/x-icon">
    <title>error</title>
</head>
<body background="../topic/img/bg.png">
<ul class="ul">
    <li class="li_home"><a class="a_home" href="/home">首页</a></li>
    <li><a href="/topic">主题</a></li>
    <li><a href="https://www.minecraft.net/zh-hans">Minecraft</a></li>
    <li><a href="https://minecraft.fandom.com/zh/wiki/Minecraft_Wiki">Minecraft Wiki</a></li>
    <div class="minSearch">
        <form action="/topic/search" method="get">
            <div>
                <input type="text" name="search" placeholder="搜你所想"><button type="submit"></button>
            </div>
        </form>
    </div>
    <li th:if="${session.user != null}" class="li_user"><img th:src="@{'/head_img/'+${session.user.head}}" alt="">
        <div class="menu">
            <p th:text="${session.user.name}">User</p>
            <div class="exp">
                <input class="expBarValue" type="hidden" th:value="${session.userExp.present}">
                <div class="expBar"></div>
            </div>
            <span class="level"><span th:text="'Lv:'+${session.user.level}">Lv:1</span>&ensp;&ensp;<span th:text="${session.userExp.exp}+'/'+${session.userExp.maxExp}">0/1</span></span>
            <div class="operate">
                <a class="ul_border" href="/set">设置</a>
                <a class="ul_border" href="/signIn">签到</a>
                <a class="ul_border" href="/exit">退出</a>
            </div>
        </div>
    </li>
    <script src="./js/exp.js"></script>
    <li th:if="${session.user == null}" class="li_user" ><a href="/login">! 请登录 !</a></li>
</ul>
    <div class="main">
        <div class="book" style="height: 500px;">
            <div class="top"></div>
            <div class="left"></div>
            <div class="right"></div>
            <div class="bookCenter" style="background-color: antiquewhite;height: 500px;display: flex;left: 0px;justify-content: center;">
                <div style="position: relative;top: 200px;">
                    <span>不存在该页面！栓Q&emsp14;<a href="/topic">!点我返回!</a></span>
                </div>
            </div>
            <div class="bottom"></div>
        </div>
       
    </div>
    <div class="tail" style="top: 1200px;">
        <p>StarFall<br>始于2016</p>
    </div>
</body>

</html>